<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>05_元素放大与过渡</title>
    <style>
        div {
            width: 100px;
            height: 100px;
            background-color: red;
            margin: 100px auto 0;
            transition: 1s;
        }
        div:hover {
            background-color: blue;
            transform: scale(1.5) ;
        }
    </style>
</head>
<body>
<div></div>

</body>
</html>